.main-menu-card {
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 15px;
}

.h5headerMenusBox {
  .main-menu-flex {
    top: 150px !important;
  }
}

.headerMenusBox {
  .title, .title-new {
    color: #fff !important;
  }

  .main-menu-flex {
    width: 100%;
    z-index: 888;
    position: absolute;
    left: 0;

    .item {
      margin-bottom: 0 !important;

      .title {
        color: #fff;
      }
    }
  }
}

.bigIndexClass {
  .title, .title-new {
    color: #fff !important;
  }
  .main-menu-flex {
    position: absolute;
    right: 20px;
    z-index: 888;
    flex-direction: column;
    bottom: calc(calc(env(safe-area-inset-bottom) / 2) + 200px) !important;

    .item {
      width: inherit !important;
      margin-bottom: 40px !important;

      .title {
        margin-top: 1Px;
        white-space: nowrap;
        color: #fff;
      }
    }

    .item:last-child {
      margin-bottom: 20px !important;
    }
  }
}

.main-menu {
  display: flex;
  flex-wrap: wrap;

  .item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 20%;
    box-sizing: border-box;
    margin-bottom: 20px;

    .img {
      height: 84px;
      width: 84px;
    }

    .title {
      white-space: nowrap;
      text-overflow: ellipsis;
      overflow: hidden;
      width: 140px;
      font-size: 28px;
      text-align: center;
      padding-top: 10px;
    }
  }
}

.main-menu-flex {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;

  .item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 20%;
    margin-bottom: 20px;

    .img {
      height: 84px;
      width: 84px;
    }

    .title {
      text-align: center;
      font-size: 24px;
      padding-top: 10px;
    }
  }
}

.title-new {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 140px;
  font-size: 28px;
  text-align: center;
  padding-top: 10px;
}

a {
  color: #000;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-menu-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  padding-bottom: 0;
}
